package ph.com.gs3.formalistics.model.vo.application;

public class SearchCondition {

	private String fieldName;
	private String fieldValue;
	private String comparator;

	public SearchCondition(String fieldName, String comparator, String fieldValue) {
		this.fieldName = fieldName;
		this.comparator = comparator;
		this.fieldValue = fieldValue;
	}

	@Override
	public String toString() {
		return fieldName + " " + comparator + " '" + fieldValue + "'";
	}

	// ========================================================================
	// {{ Getters & Setters

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getFieldValue() {
		return fieldValue;
	}

	public void setFieldValue(String fieldValue) {
		this.fieldValue = fieldValue;
	}

	public String getComparator() {
		return comparator;
	}

	public void setComparator(String comparator) {
		this.comparator = comparator;
	}

	// }}

}
